﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<title></title>
	</head>
	<body style="font-size: 17px">
	
	    <h1>
            Usecase view question</h1>
        <h2>
            Description</h2>
            <p>
                User view a question</p>
<h2>
            Actors</h2>
        <p>
            User</p>
        <h2>
            Steps</h2>
        <p>
            Input parameter: ID question<br />
            Output: Questions as mockup
            
            description</p>
        <h3>
            View comment question/answer</h3>
            Click view comment of question/answer. All comments shows as mockup description
        <h3>
            Comment question/answer</h3>
            Click &quot;Thao luan&quot;
        <br />
            System show an comment input dialog to 
        input comment <br />
        User input comment and push Luu button <br />
        System add comment without loading page
        <h3>
            Answer question</h3>
            <p>
                Input answer into answer textbox . <em>If user already answered, while user 
                input answer, a warning dialog 
                displays a warning message &quot;Ban da tra loi cau hoi roi. Ban co the chinh sua cau 
                hoi chu khong duoc them cau tra loi khac&quot; with OK button. User click OK, system 
                close dialog and change the focus to the current user&#39;s answer for user to edit.</em><br />
                User push buton &quot;Tra loi&quot;&nbsp; <br />
                System add answer to system without loading a page</p>
        <h3>
            Asking other user</h3>
            <p>
                Select user to ask<br />
                User push buton &quot;Hỏi&quot;&nbsp; <br />
                System add answer to system without loading a page. System shows result of asking other "02/06/2012 Hỏi User 2    Hủy"&nbsp; 
                which include date asking, username, and link Huy.<br />                           
           </p>
        <h3>
            Cancel ask other</h3>
            <p>
                Click "Huy"<br />
                System cancel ask other and change "02/06/2012 Hỏi User 2    Hủy" to "Đã hủy hỏi User 2" <br />                           
           </p>
        <h3>
            Finding other user to ask</h3>
            <p>
                Input username <br />
                System automatically search for user while user is typing. <br />
                Select user <br />
                System display the username on textbox search and check checkbox "Nguoi khac" <br />
                User push buton &quot;Hỏi&quot;&nbsp; <br />
                System add answer to system without loading a page. System shows result of asking other "02/06/2012 Hỏi User 2    Hủy"
                which include date asking, username, and link Huy.<br />   
                </p>
            <h3>
            Asking other collaborators</h3>
            Same Ask other user
            <h3>
            Cancel ask collaborator</h3>
            Same as Cancel ask other user
            <h3>
                Sort answers</h3>
            User hover the down arrow icon next to "Tra loi nguoi dung"<br />
            System shows two criteria to sort: default is "Diem nhan xet" which is honor points, "Ngay tao lap" which is created date. <br />
            User choose "Ngay tao lap" <br />
            System sort answers list by created date.
           <h2>
            Variations</h2>
        <h2>
            Rule</h2>
        <h2>
            Mockup</h2>
            <h3>Screen 1. Homepage screen</h3>
            <a href="../QuestionView.htm"/>QuestionView</a>
        <h4>
  Screen 1 description</h4>
        <p>
            <table border="1" frame="border" style="width:100%;">
                <tr>
                    <td style="width:20%" valign="top">
                        Title</td>
                    <td>
                        Title of question</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        Follow, star, up/downvote question</td>
                    <td>
                        Used for following question, star question, up/downvote question
                        <a href="UC_RuleList.htm#G4">Rule #G4</a></td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        Content</td>
                    <td>
                        Content of question</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        <strong>Collaborator&#39;s question comment</strong></td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        2 Thao luan</td>
                    <td>
                        Number of comments of question.</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Chuyên gia Nguyễn Văn A 12:00 12/12/2012</td>
                    <td>
                        Name of user&#39;s comment and date of comment</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        &nbsp;&nbsp;&nbsp;&nbsp; Content of comment&nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        &nbsp;&nbsp;&nbsp;&nbsp; Input comment&nbsp;</td>
                    <td>
                        User can input comment for question here</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        <strong>Collaborator&#39;s answer</strong></td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        5 Cong tac vien NVA - 12:00 12/1/2012 Up/Downvote icon</td>
                    <td>
                        5: Num of honor points - Name of collaborator&#39;s answer - Date of answer. User 
                        can up/down vote answer</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        2 Thao luan</td>
                    <td>
                        Number of comments of answer</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        &nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;Người hỏi Lưu Thị C 12:00 12/12/2012</td>
                    <td>
                        Name of user&#39;s comment and date of comment</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Content of comment</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Input comment&nbsp;</td>
                    <td>
                        User can input comment for answer here</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        <strong>User&#39;s answer</strong></td>
                    <td>
                        A list showing 5 top user&#39;s answer by its honor points (if same honor points, 
                        sort by latest date add). A more link to click to show more 5 continuous user&#39;s 
                        answer<br />
                        Similar to Collaborator&#39;s answer</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        <strong>Answer</strong></td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        <strong>Tra loi </strong></td>
                    <td>
                        User can input answer here<br />
                        If user has yet answered, system shows &quot;Bạn chỉ đuợc trả lời 1 lần cho 1 câu 
                        hỏi.&quot;.<br />
                        If user has answered already, system shows &quot;Bạn đã trả lời câu hỏi. Xem lại&quot; 
                        User can click &quot;Xem lại&quot; link to view user&#39;s answer.</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        <strong>Hoi nguoi khac</strong></td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        List users</td>
                    <td>
                        It shows 
                        top 10 users sorted by honor points.User can slide left and right toview the 
                        hidden users on list users. </td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        Textbox</td>
                    <td>
                        To input user to search for user to ask</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        Hoi</td>
                    <td>
                        Button to ask other person.</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        01/06/2012 Hỏi User 1 Xem trả lời 02/06/2012 Hỏi User 2 Hủy 04/06/2012 Hỏi tất 
                        cả User</td>
                    <td>
                        List the ask other history here. It includes date asking, name of user which can 
                        link to userview page. It also includes option for asking all users.<br />
                        - If user they asked already answered question, it shows &quot;Xem tra loi&quot; link to 
                        show the actual answer of that user in this question without loading current 
                        page. &quot;Huy&quot; link is displayed if user they asked had not made an answer yet.</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        <strong>Hoi cộng tác viên</strong></td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        List collaborators</td>
                    <td>
                        It shows 
                        collaborators sorted by honor points.User can slide left and right toview the 
                        hidden collaborators on list collaborators. </td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        Hoi</td>
                    <td>
                        Button to ask other person.</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        01/06/2012 Hỏi cộng tác viên 1 Xem trả lời 02/06/2012 Hỏi cộng tác viên 2 Hủy 
                        04/06/2012 Hỏi tất cả CTV</td>
                    <td>
                        List the ask other history here. It includes date asking, name of collaborators which can 
                        link to userview page. It also includes option for asking all collaborators.<br />
                        - If user they asked already answered question, it shows &quot;Xem tra loi&quot; link to 
                        show the actual answer of that user in this question without loading current 
                        page. &quot;Huy&quot; link is displayed if user they asked had not made an answer yet.</td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        <strong>Các câu hỏi tương tự</strong></td>
                    <td>
                        List of similar questions. 
                        The similar questions are questions followed by 
            <a href="UC_RuleList.htm#G7"/>Rule G7</a><br />
                        List all title of similar questions. It can be linked to question view page of 
                        each question. </td>
                </tr>
                <tr>
                    <td style="width:20%" valign="top">
                        <strong>Thống kê câu hỏi</strong></td>
                    <td>
                        Display users view, honor points, following users.</td>
                </tr>
                <tr>
                    <td style="width:20%; font-weight: 700;" valign="top">
                        Hoạt động gần đây</td>
                    <td>
                        A list of new updates of current 
                        question. 
                        The identification of which event of user is displayed as 
                        an one update and description of displayed update is followed by rule <a href="UC_RuleList.htm#G2">Rule #G2, 
                        section 5</a>
                        <br />
                        In each event, there are View link. When user click on that, it show the updates 
                        according to the event.</td>
                </tr>
                </table>
        </p>
		
	</body>
</html>